package com.neusoft.po;

import java.util.List;

/**
 * @Author：chj @Date：2024/9/04 16:13
 * @Description:
 */
public class Orders {
	private Integer orderId;
	private String userId;
	private Integer businessId;
	private String orderDate;
	private Double orderTotal;
	private Integer daId; // 送货地址编号
	private Integer orderState; // 订单状态（0：未支付； 1：已支付）

	private Integer deliveried; // yes 1 ; no 0
	private String deliveryManId;

	

	public String getDeliveryManId() {
		return deliveryManId;
	}

	public void setDeliveryManId(String deliveryManId) {
		this.deliveryManId = deliveryManId;
	}

	// 多对一：所属商家
	private Business business;
	// 一对多：订单明细
	private List<OrderDetailet> list;

	public Integer getDeliveried() {
		return deliveried;
	}

	public void setDeliveried(Integer deliveried) {
		this.deliveried = deliveried;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getBusinessId() {
		return businessId;
	}

	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}

	public String getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

	public Double getOrderTotal() {
		return orderTotal;
	}

	public void setOrderTotal(Double orderTotal) {
		this.orderTotal = orderTotal;
	}

	public Integer getDaId() {
		return daId;
	}

	public void setDaId(Integer daId) {
		this.daId = daId;
	}

	public Integer getOrderState() {
		return orderState;
	}

	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}

	public Business getBusiness() {
		return business;
	}

	public void setBusiness(Business business) {
		this.business = business;
	}

	public List<OrderDetailet> getList() {
		return list;
	}

	public void setList(List<OrderDetailet> list) {
		this.list = list;
	}
}
